package com.lihepeng.leecode.jvm;

/**
 * 自定义类加载器
 */
public class MyClassLoader extends ClassLoader {
    @Override
    public Class<?> loadClass(String name) throws ClassNotFoundException {
        // 通过读取 文件的路径 寻找对应的
        String path = "";
        return super.loadClass(name);
    }

    @Override
    protected Class<?> findClass(String name) throws ClassNotFoundException {
        return super.findClass(name);
    }

}
